package com.hundsun.bontal.hbi.hbi.api;

import lombok.Data;

/**
 * @ClassName ResultCode
 * @Description TODO
 * @Author wdl
 * @Date 2022/3/31 13:21
 * @Version
 */
public enum ResultCode implements IErrorCode {

    SUCCESS(200, "操作成功"),
    FAILED(500, "操作失败");

    private long code;
    private String message;

    private ResultCode(long code, String message) {
        this.code = code;
        this.message = message;
    }

    public long getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}